package com.lianjinsu.shop.service;

import com.lianjinsu.shop.controller.vo.SelfStatus;
import com.lianjinsu.shop.entity.User;

public interface UserService {

    String SELF_STATUS = "login";

    boolean insertOrUpdateUser(User user);

    boolean removeById(int id);

    SelfStatus session(String code);

    User user(String openId);

    boolean updateUser(String field, Object value, String openId);
}
